<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><div class="top">
    <span class="sa">Top</span>
</div>
<div class="leval">
    <?php if($_username) { ?>
    <span class="grade"><?php echo $_groupid;?></span>
    <?php } else { ?>
    <span class="grade">00</span>
    <?php } ?>
</div>
<div class="ma">
    <div class="photo">
        <img src="<?php echo IMG_PATH;?>/images/portrait.jpg" width="100%" height="100%"/>
    </div>
    <?php if($_username) { ?>
    <!--已登录状态-->
    <div class="us" style="display:block;">
        <img src="<?php echo IMG_PATH;?>/images/portrait.png" height="60%" style="vertical-align:middle"/>
        <span style="color:#00ffff;font-size:1vw;vertical-align:middle"><?php echo $_username;?></span>
    </div>
    <?php } else { ?>
    <!--未登录状态-->
    <div class="us" style="display:block;">
        <img src="<?php echo IMG_PATH;?>/images/portrait.png" height="60%" style="vertical-align:middle"/>
        <img src="<?php echo IMG_PATH;?>/images/nologin.png" height="60%" style="vertical-align:middle"/>
    </div>
    <?php } ?>
    <div id="code" class="code">
    </div>
    <div class="attention_div">
        <div class="attention_icon" style="left:17%;"><img id="weibo" src="<?php echo IMG_PATH;?>/images/sina.png" width="100%"
                                                           height="100%"/>
        </div>
        <div class="attention_icon" style="left:30%;">
            <img id="weixin" src="<?php echo IMG_PATH;?>/images/weixin.png" width="100%" height="100%"/>
        </div>
    </div>

    <div class="attention_bottom">
        <span class="gz">收听关注最新动态</span>
        <button id="gz" name="gz" onclick="cli()"></button>
    </div>
</div>
